#ifndef SETWIDGET_H
#define SETWIDGET_H

#include <QWidget>
#include <QDateTimeEdit>
#include <QLineEdit>

class SetWidget : public QWidget
{
    Q_OBJECT
public:
    explicit SetWidget(QWidget *parent = nullptr);

signals:
    void SignalConfirmButtonClicked(qint64 xMin, qint64 xMax, double yMin, double yMax);

private :
    void SlotConfirmButtonClicked();
    void SlotCancelButtonClicked();

private:
    void Init();

private:
    QDateTimeEdit *xRangeMinEdit{ nullptr };
    QDateTimeEdit *xRangeMaxEdit{ nullptr };
    QLineEdit *yRangeMinEdit{ nullptr };
    QLineEdit *yRangeMaxEdit{ nullptr };
};

#endif // SETWIDGET_H
